package com.kou.backend.request.login;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


/**
 * 用户登录接口请求体
 *
 * @author: Kou
 * @since: 2023/8/24 20:38
 */
@Data
public class UserLoginReqDTO {
    /**
     * 用户账号
     */
    @NotBlank(message = "用户账号不能为空")
    @Schema(name = "userAccount", description = "用户账号", required = true)
    private String userAccount;
    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    @Schema(name = "password", description = "密码", required = true)
    private String password;
}
